package cn.felord.app.enumeration;

/**
 * @author Dax
 * @since 22:50  2019-04-02
 */
public enum EnabledEnum implements Enumeratable {
    /**
     * Enable status enum.
     */
    ENABLE(0, "可用"),
    /**
     * Disable status enum.
     */
    DISABLE(1, "不可用");

    private int value;
    private String description;

    EnabledEnum(int value, String description) {
        this.value = value;
        this.description = description;
    }

    @Override
    public int value() {
        return this.value;
    }

    @Override
    public String description() {
        return this.description;
    }
}
